package com.example.peanutsubway.service;

import com.example.peanutsubway.entity.BookInfo;
import com.example.peanutsubway.entity.BookType;
import com.example.peanutsubway.entity.Game;
import com.example.peanutsubway.entity.Menu;
import com.example.peanutsubway.util.PageInfo;
import com.example.peanutsubway.vo.BookTypeInfo;

import java.util.List;

/**
 * @Author：zzt
 * @Version：1.0
 * @Date：2021/10/12-10:59
 * @Since:jdk1.8
 * @Description:
 */
public interface BookService {
    PageInfo findAllBook(BookInfo bookInfo, String nowPage, String pageNum);
    List<BookType> findAllBookParentType();
    List<BookType> findAllBookSonType(Integer id);
    Boolean updateBookInfo(BookInfo bookInfo);
    Boolean deleteBookSonType(Integer id);
    Boolean addBook(BookInfo bookInfo);
}
